package com.guli.gulimall.product.web.entity.vo;

import com.guli.gulimall.product.entity.SkuImagesEntity;
import com.guli.gulimall.product.entity.SkuInfoEntity;
import com.guli.gulimall.product.entity.SpuInfoDescEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @ClassName SkuItemVo
 * @Author Hao_YunKai
 * @Date 2022/1/15 10:41
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SkuItemVo {
    //1、sku基本信息的获取  pms_sku_info
    private SkuInfoEntity skuInfoEntity;

    /* todo 是否有库存 */
    /*private boolean hasStock = true;*/

    //2、sku的图片信息    pms_sku_images
    private List<SkuImagesEntity> images;

    //3、获取spu的销售属性组合
    private List<ItemSaleAttrVo> saleAttr;

    //4、获取spu的介绍
    private SpuInfoDescEntity spuInfoDescEntity;

    //5、获取spu的规格参数信息
    private List<SpuItemAttrGroupVo> groupAttrs;

    /* todo 秒杀信息 */
}
